//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package org.dromara.warm.flow.core.condition;

import lombok.extern.slf4j.Slf4j;
import org.dromara.warm.flow.core.enums.ConditionType;
import org.dromara.warm.flow.core.utils.ExpressionUtil;

import java.util.HashMap;
import java.util.Map;

@Slf4j
public class ConditionStrategyLike extends AbstractConditionStrategy {
    public ConditionStrategyLike() {

    }

    public String getType() {
        return ConditionType.LIKE.getKey();
    }

    public Boolean afterEval(String value, String variableValue) {
        return variableValue.contains(value);
    }
}
